import { ApiProperty } from "@nestjs/swagger";

export abstract class BaseAdminResult {
  @ApiProperty({
    description: 'uuid',
  })
  uuid: string;

  @ApiProperty({
    description: '创建时间',
  })
  createTime: number;

  @ApiProperty({
    description: '更新时间',
  })
  updateTime: number;
}

export abstract class BaseResult {
  @ApiProperty({
    description: 'uuid',
  })
  uuid: string;
}

export abstract class BaseScrollPageListResult {
  @ApiProperty({
    description: 'uuid',
  })
  uuid: string;

  @ApiProperty({
    description: 'uuid',
  })
  id: number;
}
